<template>
  <div class="mycell" @click="handlerclick">
    <div class="left">{{ title }}</div>
    <div class="right">
      {{ type == "pass" ? "******" : desc
      }}<span class="iconfont iconjiantou1"></span>
    </div>
  </div>
</template>

<script>
export default {
  props: ["title", "desc", "type"],
  methods: {
    handlerclick(e) {
      this.$emit("click", e);
    },
  },
};
</script>

<style lang="less" scoped>
.mycell {
  height: 60px;
  padding: 0 15px;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .right {
    font-size: 13px;
    color: #888;
  }
}
</style>